import ElUpload from 'element-ui/lib/upload'

export default {
  ...ElUpload.props,
  UploadType: {
    type: 'select',
    default: 'img',
    options: ['img', 'file', 'video']
  },
  uploadText: {
    type: String,
    default: '点击上传'
  },
  selectText: {
    type: String,
    default: '选取文件'
  },
  submitText: {
    type: String,
    default: '上传到服务器'
  },
  tipText: {
    type: String,
    default: '只能上传jpg/png文件，且不超过500kb'
  },
  isPrivate: {
    type: 'select',
    default: 1,
    options: [{label:'公用空间',value:0}, {label:'私有空间',value:1}]
  },
  size: String,
  
}
